/*
 * Copyright 2008 Federal Emergency Management Agency
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at 
 * 
 *    http://www.apache.org/licenses/LICENSE-2.0 
 *    
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and 
 * limitations under the License. 
 *  
 */
package gov.fema.hazus.bdc.client.hazards.wind.buildingdesign;

import com.google.gwt.core.client.GWT;

import gov.fema.hazus.bdc.client.common.ui.AbstractClassificationSchemeListBox;
import gov.fema.hazus.bdc.client.hazards.wind.WindConstants;

public class WindDesignCodeListBox extends AbstractClassificationSchemeListBox {

	private WindConstants constants;

	public WindDesignCodeListBox()
	{
		
		constants = (WindConstants)GWT.create(WindConstants.class);
		
		// add all of the items, if null, set to unknown
		this.addItem(constants.schemaWindDesignCodeUNKNOWN(), "0 = Unknown");
		this.addItem(constants.schemaWindDesignCodeUBC(), "1 = UBC");
		this.addItem(constants.schemaWindDesignCodeSBC(), "2 = SBC");
		this.addItem(constants.schemaWindDesignCodeBOCA(), "3 = BOCA");
		this.addItem(constants.schemaWindDesignCodeASCE7(), "4 = ASCE-7");
		this.addItem(constants.schemaWindDesignCodeSFBC(), "5 = SFBC");
		this.addItem(constants.schemaWindDesignCodeNONE(), "6 = None");
		this.addItem(constants.schemaWindDesignCodeOTHER(), "99 = Other");
	}
	
/*
# wind design code
schemaWindDesignCodeUNKNOWN=Unknown
schemaWindDesignCodeUBC=UBC
schemaWindDesignCodeSBC=SBC
schemaWindDesignCodeBOCA=BOCA
schemaWindDesignCodeASCE7=ASCE-7
schemaWindDesignCodeSFBC=SFBC
schemaWindDesignCodeNONE=None
schemaWindDesignCodeOTHER=Other
0 = Unknown
1 = UBC
2 = SBC
3 = BOCA
4 = ASCE-7
5 = SFBC
6 = None
99 = Other

 */	
}
